Learn R Programming

pbdZMQ (version 0.3-13)

Set Control Functions: Set controls in pbdZMQ

Description

Set control functions

Usage

pbd_opt(..., bytext = "", envir = .GlobalEnv)

Value

No value is returned.

Arguments

...

in argument format option = value to set .pbd_env$option <- value inside the envir

bytext

in text format "option = value" to set .pbd_env$option <- value inside the envir.

envir

by default the global environment is used.

Author

Wei-Chen Chen wccsnow@gmail.com and Drew Schmidt.

Details

pbd_opt() sets pbd options for ZMQ controls.

... allows multiple options in envir$.pbd_env, but only in a simple way.

bytext allows to assign options by text in envir$.pbd_env, but can assign advanced objects. For example, "option$suboption <- value" will set envir$.pbd_env$option$suboption <- value.

References

ZeroMQ/4.1.0 API Reference: https://libzmq.readthedocs.io/en/zeromq4-1/

Programming with Big Data in R Website: https://pbdr.org/

See Also

.pbd_env.

Examples

Run this code
if (FALSE) {
library(pbdZMQ, quietly = TRUE)

ls(.pbd_env)
rm(.pbd_env)
.zmqopt_init()
ls(.pbd_env)

.pbd_env$ZMQ.SR$BLOCK
pbd_opt(bytext = "ZMQ.SR$BLOCK <- 0L")
}

Run the code above in your browser using DataLab